import { useDispatch } from 'react-redux';

// eslint-disable-next-line import/no-anonymous-default-export
export default () => {
  const dispatch = useDispatch();
  return {
    // 设置主页信息
    // setTopHeaderHeight: (data) => dispatch({ type: SET_H5TOP_HEADER_HEIGHT, data }),
  };
};
